#include "game.h"
#include "minigame_ui.h"
#include "pvz.h"
void switch_game_load(game_type_t index)
{
    switch (index) {
        case GAME_JUMP2JUMP: //跳一跳
            /* code */
            break;
        case GAME_2048: //2048
            /* code */
            break;
        case GAME_MATCH3: //消消乐
            /* code */
            break;
        case GAME_PVZ: //植物大战僵尸
            pvz_start();
            break;
        case GAME_CHESS: //象棋
            /* code */
            break;
        case GAME_CUT_MELON: //切西瓜
            /* code */
            break;
        case GAME_DICE: //骰子
            /* code */
            break;
        case GAME_FLAPPYBIRD: //Flappy Bird
            /* code */
            break;
        default:
            break;
    }
}
void game_backspace(void)
{
    refresh_minigame_ui();
}

